Skip to content

feat: task cancel/resume support and search model combobox#6

Closed
mathieu0905 wants to merge 109 commits into
VisionXLab:mainfrom
mathieu0905:feat/task-resume-and-model-combobox
Closed

feat: task cancel/resume support and search model combobox#6
mathieu0905 wants to merge 109 commits into
VisionXLab:mainfrom
mathieu0905:feat/task-resume-and-model-combobox

Conversation

@mathieu0905
Copy link
Copy Markdown

Summary

  • Search Model 下拉框支持自定义输入:select + 自定义文本框联动,选"自定义..."后可输入任意模型名
  • 任务取消后可恢复:cancel 通过 asyncio.Task.cancel() 强制终止,Phase 级别文件存在性检查自动跳过已完成阶段
  • 从结果文件夹恢复任务:启动时写入 _task_meta.json,结果面板显示"恢复"按钮,支持换模型后续跑
  • 恢复前自动保存 UI 配置:确保取消→改模型→恢复能正确使用新配置

Test plan

  • Search Model 下拉选择预设模型 → 正常启动
  • Search Model 选"自定义..."→ 输入自定义模型名 → 正常启动
  • 运行中取消任务 → 显示恢复按钮 → 点击恢复 → 从中断处继续
  • 取消后修改模型 → 恢复 → 确认使用新模型
  • 结果面板 → 有 _task_meta.json 的文件夹显示恢复按钮 → 点击恢复
  • Phase 1 完成后取消 → 恢复 → Phase 1 被跳过,直接执行 Phase 2

🤖 Generated with Claude Code

论文被引画像分析智能体,支持自动爬取施引文献、识别著名学者、生成可视化 HTML 报告。
GitHub does not render HTML files natively; wrap links with
htmlpreview.github.io so the reports open directly in the browser.
- Replace navbar SVG placeholder with citationagent_icon.png
- Rename hero eyebrow to CITATION AGENT
- Force hero description onto one line (white-space: nowrap)
- Auto-save ScraperAPI & OpenAI keys on 获取论文列表 and 开始分析
…d state

Inline the key-patch directly in fetchScholarPapers so it works on first
visit with no prior config, regardless of main.js initialisation order.
- Replace README-copy layout with distinctive academic project page style
- Add paper-style hero: large title, author names with superscripts, institution, link buttons row
- Add TL;DR strip below teaser for quick overview
- Add interactive 4-step demo slideshow with left nav + auto-advance (replaces static screenshots)
- Capture actual UI screenshot (ui-main.png) with placeholder keys for the slideshow
- Features section now uses unified grid with separator borders (more distinctive than cards)
- Report examples section uses clickable image cards linking to live demo reports
- Update .gitignore to cover ui-full.png and homepage-preview*.png temp files
Cuzyoung and others added 28 commits March 14, 2026 15:30
feat: refactor five-phase pipeline into skills runtime
…stant dark theme

- Skills Runtime (v1.0.6): fix asyncio.to_thread bug in phase3/phase5 export/report skills
- Branding: rename to CitationClaw across all pages, navbar, footer, terminal startup, browser tabs
- AI assistant: unify dark theme across index.html and dashboard; replace icon with head_logo.png
- Results panel: two-level folder browser (result-{timestamp}), delete folder support
- Backend: add /api/results/folders, /api/results/list?folder=, DELETE /api/results/folder/{name}
- docs/index.html: update for v1.0.6 (Skills Runtime feature card, pipeline 5 steps, beta tag)
- docs/technical-report.html: add Skills Runtime section (02.5), update hero to beta v1.0.6
- Version bump: 1.0.5 → 1.0.6
…author_search, and zero-citations early exit
- Search Model dropdown now supports custom input (select + text input)
- Cancel task properly resets state via asyncio.Task.cancel + CancelledError handling
- Resume from in-memory state: cancel → change config → resume picks up with latest config
- Resume from result folder: saves _task_meta.json, skips completed phases by checking output files
- Results panel shows "恢复" button for folders with task metadata
- Resume button saves current UI config before resuming

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants